#pragma once

namespace catan
{
	class Edge : public BoardItem
	{
	public:
		Edge(void);
		~Edge(void);
		void AddBuildPoint(Handle<BuildPoint> buildPoint);
		Handle<BuildPoint> GetOtherBuildPoint(Handle<BuildPoint> p);
		BuildPoints mBuildPoints;
		Handle<Road> mRoad;
	public:
		template<class Serializer>
		void serialize(Serializer & s, const unsigned int version)
		{
			s & mBuildPoints & mRoad ;
		}
	};
}	